/*********
 * undefined type
 */
var undef = 'undefined';

/*********
 * Deafult id for the XVR object
 */
var xvr_obj_id = 'xvr_obj';

/*********
 * Deafult id for the XVR object container
 */
var xvr_application_container_id = 'xvr_container';


/*********
 * Deafult id for the XVR object
 */
var xvr_root_id = 'xvr_root';


/******************************************************************************
 * 									EVENTS
 ******************************************************************************/

var xvr_events = {
	onError : 'error',
	onDataIn : 'dataIn'
}


/******************************************************************************
 * 									ERRORS
 ******************************************************************************/

/*********
 * Error message for no error
 */
var xvr_error = 'All it\'s fine';

/*********
 * Error code for no error
 */
var xvr_error_code = 0;

/*********
 * Error message for no container
 */
var xvr_error_no_container = 
	['XVR can not find a container for its object. Make it sure that the HTML ',
	 'page contains a container(div) with id \'' + xvr_application_container_id + '\'']
	 .join('\n');

/*********
 * Error code for no container
 */
var xvr_error_no_container_code = 1;

var xvr_error_undefined_event = 
	'The specified events is not supported by the library';

var xvr_error_undefined_event_code = 2

